package com.itheima.methoddemo;

public class MethodDemo3 {
    public static void main(String[] args) {
        getSum();
    }

    public static void getSum() {
        int num1 = 10;
        int num2 = 2 ;

        int result = num1 + num2;
        System.out.println(result);
    }
}
